package cn.xej.mbg.model;

import java.io.Serializable;

public class TbMenu implements Serializable {
    /**
     * 菜单id
     *
     * @mbggenerated
     */
    private Integer menuId;

    /**
     * 菜单名称
     *
     * @mbggenerated
     */
    private String menuName;

    /**
     * 父菜单ID
     *
     * @mbggenerated
     */
    private Integer menuPid;

    /**
     * 0:不是叶子节点，1:是叶子节点
     *
     * @mbggenerated
     */
    private Byte isLeaf;

    /**
     * 路由地址
     *
     * @mbggenerated
     */
    private String path;

    /**
     * 组件地址
     *
     * @mbggenerated
     */
    private String component;

    /**
     * 菜单图标
     *
     * @mbggenerated
     */
    private String icon;

    /**
     * 排序
     *
     * @mbggenerated
     */
    private Byte sort;

    /**
     * 菜单层级
     *
     * @mbggenerated
     */
    private Byte level;

    /**
     * 0:启用,1:禁用
     *
     * @mbggenerated
     */
    private Byte status;

    /**
     * 0:显示,1:不显示
     *
     * @mbggenerated
     */
    private Integer visible;

    private static final long serialVersionUID = 1L;

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public Integer getMenuPid() {
        return menuPid;
    }

    public void setMenuPid(Integer menuPid) {
        this.menuPid = menuPid;
    }

    public Byte getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(Byte isLeaf) {
        this.isLeaf = isLeaf;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getComponent() {
        return component;
    }

    public void setComponent(String component) {
        this.component = component;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Byte getSort() {
        return sort;
    }

    public void setSort(Byte sort) {
        this.sort = sort;
    }

    public Byte getLevel() {
        return level;
    }

    public void setLevel(Byte level) {
        this.level = level;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Integer getVisible() {
        return visible;
    }

    public void setVisible(Integer visible) {
        this.visible = visible;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", menuId=").append(menuId);
        sb.append(", menuName=").append(menuName);
        sb.append(", menuPid=").append(menuPid);
        sb.append(", isLeaf=").append(isLeaf);
        sb.append(", path=").append(path);
        sb.append(", component=").append(component);
        sb.append(", icon=").append(icon);
        sb.append(", sort=").append(sort);
        sb.append(", level=").append(level);
        sb.append(", status=").append(status);
        sb.append(", visible=").append(visible);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}